import React from "react";
import { connect } from "react-redux";

const Index = props => {
  return <div>{props.content || 666}</div>;
};
const mapStateToProps = state => {
  return state.NewsReducer;
};
export default connect(mapStateToProps)(Index);
